.chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px;
  background-color: #1f1f1f;
  color: #ffffff;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
  padding: 10px;
}

.message {
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 10px;
  max-width: 70%;
  word-wrap: break-word;
}

.user-message {
  background-color: #1890ff;
  margin-left: auto;
}

.ai-message {
  background-color: #303030;
  margin-right: auto;
}

.message-content {
  font-size: 16px;
  line-height: 1.5;
}

.input-container {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: #303030;
  border-radius: 10px;
}

.input-container .ant-input {
  background-color: #404040;
  border: none;
  color: #ffffff;
}

.input-container .ant-input:focus {
  box-shadow: none;
}

.input-container .ant-btn {
  background-color: #1890ff;
  border: none;
}

.input-container .ant-btn:hover {
  background-color: #40a9ff;
}

/* 自定义滚动条样式 */
.messages-container::-webkit-scrollbar {
  width: 8px;
}

.messages-container::-webkit-scrollbar-track {
  background: #1f1f1f;
}

.messages-container::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
  background: #505050;
} 